package com.qqtech.qquan.circle.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class CircleCategory extends BaseDomain{

	//columns START
    /** 父类id */
	private java.lang.Integer parentId;
    /** 分类名称 */
	private java.lang.String name;
    /** 分类图片 */
	private java.lang.String img;
    /** 分类排序,越小越靠前 */
	private java.lang.Integer oidx;
    /** 级别: 1,2... */
	private java.lang.Integer level;
	//columns END
	public CircleCategory(){
	}

	public CircleCategory( java.lang.Integer id ){
		this.id = id;
	}

	public void setParentId(java.lang.Integer parentId) {
		this.parentId = parentId;
	}

	public java.lang.Integer getParentId() {
		return this.parentId;
	}
	
	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setImg(java.lang.String img) {
		this.img = img;
	}

	public java.lang.String getImg() {
		return this.img;
	}
	
	public void setOidx(java.lang.Integer oidx) {
		this.oidx = oidx;
	}

	public java.lang.Integer getOidx() {
		return this.oidx;
	}
	
	public void setLevel(java.lang.Integer level) {
		this.level = level;
	}

	public java.lang.Integer getLevel() {
		return this.level;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

